<!DOCTYPE HTML>
<html>
	<head>
	<title> Email heaven </title>
	<link rel="stylesheet" type="text/css" href="mediocre101.css">
	<link rel="stylesheet" type="text/css" href="StupidLiberal.css">
	</head>
	<body>
	<center><h1>Email a reason to enter heaven</h1></center>
	<p>You can use this form to send email to heaven or a Angel of your choice. 
	You are required to enter your name and why I should let you into heaven, in case the Angel or Holy being you're writing would like to reply. 
	Enter your soul number if you want the person to respond by phone.</p>
	
	<p>Email is downloaded each evening and given to the believers each morning at breakfast. 
	Angelic activities keep everyone quite busy, and it is normal for emails to go unanswered never.</p>
	
		<form>
			<p>Your faith'because I know your name and every thing about you'I am testing If your Lying'': <input type="text" size="25" name="name" /></p>
			<p id="unrinary">Why should I let you into heaven: <input type="text" size="25" name="reasons" /></p>
			<p>Your soul number: <input type="number" size="25" name="soul number" id="soulNumber" /></p>
			<p>Which heavenly being is this message for?<br />
			<select name="who">
			<option value="">Please Select</option>
			<option value="Some Angel:">Some Angelic being:</option>
			<option value="The Holy Ghost:">The Holy Ghost:</option>
			<option value="Jesus:">Jesus:</option>
			<option value="God:">Our Heavenly Father:</option>
			</select> <input type="text" size="25" name="recipient" /></p>
			<p>Your Message to Jesus:<br />
			<textarea rows="10" cols="50" name="message"></textarea></p>
			<p>Would you like a response from The Holy Ghost?<br />
			<input type="radio" name="response" value="none" />No response necessary, just fall into Jesus's arms!<br />
			<input type="radio" name="response" value="email" />E-mail us back,but there is no need<br />
			<input type="radio" name="response" value="phone" />Give us a call when you can,but there is no need</p>
			<input type="submit" name="submit" value="Send Message" />
			<input type="text" size="25" name="debugTest" id="debugTest" />
			</p>
		</form>
		<script>
			var i = Math.floor(Math.random() * 10000);
			var u = Math.floor(Math.random() * 1000); 
			var soulNumber = i*u;
			
			var inputSoulNumber = document.getElementById("soulNumber");
			var pTag = document.getElementById("unrinary");
			
			inputSoulNumber.value = soulNumber;
			pTag.innerHTML = pTag.innerHTML + " YO DOG! <b>You're the best!</b>";
			pTag.style.backgroundColor = "orange";
			pTag.style.color = "brown";
			
			var pTags = document.getElementsByTagName("p");
			var myRandomSize = Math.floor(4 + (Math.random() * 25));
			
			document.getElementById("debugTest").value = "" + myRandomSize;
			
			for (var k=0; k < pTags.length; k++) {
				var pp = pTags[k];
				pp.style.fontSize = "" + myRandomSize + "px";
			}
			
			var grow = true;
			
			function HideTextbox() {
				var input = document.getElementById("debugTest");
				
				if (input.style.display == "none") input.style.display = "";
				else input.style.display = "none";
				
				//var pTags = document.getElementsByTagName("p");
				var pTags = document.getElementsByTagName("h1");
				
			
			}
			
			// after 5 seconds (5000 milliseconds), call this function
			//window.setTimeout(HideTextbox, 5000);
			
			// after 1 second (1000 milliseconds), call this function
			window.setInterval(HideTextbox, 60);
		</script>
	</body>
</html>